package com.igeekhome.ccs.mapper;

import com.igeekhome.ccs.entity.Message;
import com.igeekhome.ccs.entity.Session;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;


@Mapper
public interface MessageMapper {
    int sendMessage(Message m);
    int todayMessageNumber(Date today);
    List<Session> getSessionMessage(int sessionId);
}
